package com.lingnan.tijian.exception;

/**
 * 软件使用手册
 */
public enum TijianAPPExceptionEnum {

    PHONE_NOT_REGISTER(1000,"该手机号尚未注册"),
    PASSWORD_IS_WRONG(1001,"密码错误"),
    SYSTEM_ERROR(1002,"系统异常"),
    ALREADY_APPOINTMENT_CURRENTDAY(1003,"您当天已有预约"),
    USER_LOGIN_TIMEOUT(1004,"用户登录已超时"),
    NOT_LOGIN(1005,"请先登录");

    private TijianAPPExceptionEnum(Integer code,String message){
        this.code=code;
        this.message=message;
    }

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
